/**
 *
 */

package Model;

public class Story implements IStory {

    private int id;
    private String description;
    private int estimation;
    private int classement;
    private int poids;
    private ITheme theme;

    public Story(int id, String description, int estimation, int classement, int poids, ITheme theme) {
        this.id = id;
        this.description = description;
        this.estimation = estimation;
        this.classement = classement;
        this.poids = poids;
        this.theme = theme;
    }

    public int getRank() {
        return classement;
    }

    public String getDescription() {
        return description;
    }

    public int getEstimation() {
        return estimation;
    }

    public int getId() {
        return id;
    }

    public int getWeight() {
        return poids;
    }

    public ITheme getTheme() {
        return theme;
    }


    public void setRank(int classement) {
        this.classement = classement;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setEstimation(int estimation) {
        this.estimation = estimation;
    }

    public void setWeight(int poids) {
        this.poids = poids;
    }

    public void setTheme(ITheme theme) {
        this.theme = theme;
    } 
    
    public String toString(){
    	return "Description : "+description+" Estimation : "+estimation+" Classement : "+classement+" Poids : "+poids;
    }
}
